package com.xmg.boot.demo.bootlesson1.user.mapper;

import com.xmg.boot.demo.bootlesson1.user.entity.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author ma
 * @date 2023/11/16
 * @description
 */
@Mapper
@Component
public interface UserMapper extends BaseMapper<User>{
    List<User> getUserByUserName(@Param("uName") String userName);
}
